using SqlSugar;

namespace Gateway.IQuery.User.Result;

/// <summary>
/// 用户详情结果
/// </summary>
[SugarTable("User")]
public class UserDetailResult : BaseResult
{
    /// <summary>
    /// 用户标识
    /// </summary>
    public string UserId { get; set; }
    /// <summary>
    /// 用户头像
    /// </summary>
    public string UserAvatar { get; set; }

    /// <summary>
    /// 姓名
    /// </summary>
    public string UserName { get; set; }

    /// <summary>
    /// 账号
    /// </summary>
    public string Account { get; set; }

    /// <summary>
    /// 编号
    /// </summary>
    public string UserNo { get; set; }

    /// <summary>
    /// 所属角色标识
    /// </summary>
    public string RoleIds { get; set; }

    /// <summary>
    /// 部门标识
    /// </summary>
    public string DepartmentId { get; set; }

    #region 扩展字段
    /// <summary>
    /// 角色名称集合
    /// </summary>
    [SugarColumn( IsIgnore = true)]
    public List<string> RoleNames { get; set; }
    /// <summary>
    /// 部门名称
    /// </summary>
    [SugarColumn( IsIgnore = true)]
    public string DepartmentName { get; set; }
    

    #endregion
   
}